package net.maku.system.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import net.maku.framework.common.utils.DateUtils;
import java.math.BigDecimal;
import java.util.Date;

/**
* 充值记录
*
* @author 小陈 
* @since 1.0.0 2025-03-19
*/
@Data
@Schema(description = "充值记录")
public class SysUserChargeVO implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

	@Schema(description = "被充值用户")
	private Long userId;

	@Schema(description = "充值金额")
	private BigDecimal rechargeAmount;

	@Schema(description = "充值前金额")
	private BigDecimal lastAmount;

	@Schema(description = "充值后金额")
	private BigDecimal nextAmount;

	@Schema(description = "充值的用户")
	private Long rechargeUser;

	@Schema(description = "充值类型0-充值 1-扣费")
	private Integer rechargeType;

	@Schema(description = "备注")
	private String remark;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	@Schema(description = "修改时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateTime;

	@Schema(description = "删除")
	private Integer deleted;

	@Schema(description = "创建人")
	private Long creator;

	@Schema(description = "修改人")
	private Long updater;

	@Schema(description = "版本")
	private Integer version;


}